Dynomotion

Group: DynoMotion Message: 7109 From: shaileshal Date: 3/24/2013
Subject: Problem configuring KFlop - Axis Disabled Error
Recently purchased a KFLOP and updated the version from 4.29 to 4.30.

Was trying to see, how the KFLOP hardware interacts with KMotion PC software and am facing problems with the evaluation.

Have done following:
1. Installed KMotion4.30 exe.
2. Installaed the USB Drivers.
3. Have enabled the virtual com port option and installed the serial port drivers.
4. Checked connection the KFlop board through Console menu using Version command.
5. Enabled X,Y and Z Axis in the Axis menu.
6. Configured Channel 0, 1, and 2 as Open loop step direction with output on 0,1,2 respectively.
7. Download channels to KFLOP using the Download channels under Config and Flash screen.
8. Then opened the G-code windows under KMotion software and tried executing the default Gcode, but gives error on "G00 X-37.939 Y8.793 Z16.000" saying "Axis disabled - GCode Aborted".

Same error is observed through KMotionCNC application also on Manual Gcode send command also.

What is the missing part configuration that needs to be done to get the KFlop working with the PC software ????
Group: DynoMotion Message: 7110 From: Tom Kerekes Date: 3/24/2013
Subject: Re: Problem configuring KFlop - Axis Disabled Error
Hi Shaileshal,

That error occurs because you have not defined which axis channels in the system are to be used.  By default KFLOP assumes a 4 axis system.  KMotionCNC is detecting a 4th axis as disabled.  Define an X,Y,Z coordinate system with a C Statement:

DefineCoordSystem(0,1,2,-1);

The normal process is to configure and test all axes in KMotion.exe first.  Then create a C Initialization Program that will configure all your axes, enable all your axes, and define the Coordinate System, before running KMotionCNC.  

This process is the same whether intending to use Mach3 or KMotionCNC.  See step 4 here:

http://dynomotion.com/Help/Mach3Plugin/Mach3.htm

You didn't need to enable the Virtual Com Port Drivers, KMotion doesn't use them, but it shouldn't matter.

Regards
TK


Group: DynoMotion Message: 12428 From: rustychrome Date: 10/23/2015
Subject: Re: Problem configuring KFlop - Axis Disabled Error
I am also working on getting the system ready.

All was well - jog works in KmotionCNC
Ran the sample programs and all was well.
Ran Sample 5 
(CMD,EnableAxis0)
(CMD,EnableAxis1)
(CMD,EnableAxis2)
(CMD,EnableAxis3)
(CMD,EnableAxis4)
(CMD,EnableAxis5)
(CMD,EnableAxis6)
(CMD,EnableAxis7)
(CMD,DefineCSEx = 0 1 2 3 4 5 6 7)
m0
(CMD,Move0=0)
(CMD,Move1=0)
(CMD,Move2=0)
(CMD,Move3=0)
(CMD,Move4=0)
(CMD,Move5=0)
(CMD,Move6=0)
(CMD,Move7=0)
m0
(CMD,OpenBuf)
(CMD,LinearHexEx 0 0 0 0 0 0 0 0 3f800000 3f800000 3f800000 3f800000 3f800000 3f800000 3f800000 3f800000 0 0 3f800000 0 3f800000)
(CMD,LinearEx 1 1 1 1 1 1 1 1 20 21 22 23 24 25 26 27 0 0 1 0 1)
(MD,Linear 20 21 22 23 24 25 0 0 0 0 0 0 0 0 1 0 1)
(CMD,ExecBuf) 
M2

And started getting the axis disabled error.

If I run sample 5 up to m0 - I can then switch to other programs and they work (say program 1)

If I stop and restart program 1 - I get the axis disabled error again until I run program 5 above to the m0 then switch back.  

I don't know the details of (CMD,EnableAxis???) so I don't know how to get around this.

I cycled the power on the Kflop and all is back to working again.  

I might have figured out where to go read for the solution by the time you reply but a quick few words as to what happened might be good.

Thanks
Richard



Group: DynoMotion Message: 12429 From: rustychrome Date: 10/23/2015
Subject: Re: Problem configuring KFlop - Axis Disabled Error
When hovering over the stop button, I noticed that it disables all axes.  I re-ran the init and program restarted without axis error. 

I must have hit stop at some point to create the initial situation that led me down this path.

esc key leads to same axis disabled error as well.  

Hack and learn :)

Cheers